package ratelimit

import "golang.org/x/net/context"

// Limiter 限流器接口定义
type Limiter interface {
	// Limit 执行限流
	Limit(ctx context.Context, key string) (bool, error)
}
